<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="./style.css">
    <script src="http://apps.bdimg.com/libs/jquery/2.1.1/jquery.js"></script>
</head>
<body>
    <div id="standby">
        <h1>滚动形变</h1>
        <div id="blank" style="transform: scaleY(1);">
            <img src="./curve.png" alt="">            
        </div>
    </div>
    <script>
        $(function(){
            window.addEventListener('scroll',function(){
                let a = 1 + window.scrollY/-500;
                $('#blank').css({'transform' : `scaleY(${a})`});
            });
        });
        
    </script>
</body>
</html>